home *** CD-ROM | disk | FTP | other *** search
/ Educational Software Cooperative 4 / Educational Software Cooperative 4.iso / sf101 / sf.doc < prev    next >
Text File  |  1994-04-30  |  99KB  |  2,302 lines

  1.      
  2.      
  3.      
  4.      
  5.      
  6.      
  7.      
  8.      
  9.      
  10.      
  11.      
  12.      
  13.      
  14.      
  15.      
  16.      
  17.      
  18.      
  19.      
  20.      
  21.                                    TexaSoft's
  22.      
  23.                          SCIENCE FAIR GRAPHS & NUMBERS
  24.      
  25.                      (C)Copyright 1984-1994 Alan C. Elliott
  26.      
  27.      
  28.      
  29.      ALL RIGHTS RESERVED
  30.      
  31.      All rights reserved. Printed in the United States of America. No part
  32.      of this book may be reproduced without prior permission.
  33.      
  34.      No patent liability is assumed with respect to the use of the
  35.      information  contained herein. While every precaution has been taken
  36.      in the preparation of  this publication, the publisher assumes no
  37.      responsibility for errors or omissions. Neither is any liability
  38.      assumed for damages resulting from the use of the information herein.
  39.      
  40.      
  41.      Note:There may be important information in the file LATENEWS.DOC. To
  42.      view this file enter the command (from DOS) TXVIEW LATENEWS.DOC.
  43.      
  44.      NOTE:To print an order form, choose the "ABOUT" menu option. You will
  45.      be given the option to print an order form. Or, you can print the fil
  46.      SFORDER.TXT from DOS using the command PRINT SFORDER.TXT.
  47.      
  48.      For additional information on this product, contact TexaSoft, P.O. Bo
  49.      1169, Cedar Hill, Texas 75104 (214) 291-2115, Fax: (214) 291-3400,
  50.      Compuserve:70721,3145.
  51.      
  52.  
  53.  
  54.  
  55.  
  56.  
  57.      --------------------------------------------------------------------
  58.                  Become a Registered User, Print an Order Form
  59.                                         1
  60.      
  61.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  62.      --------------------------------------------------------------------
  63.      
  64.      
  65.      CONTENTS
  66.      -----------------------------------------------------------
  67.      PART I Hints for Organizing Your Science Fair Project.....3
  68.      
  69.      PART II AN OVERVIEW OF SCIENCE FILE GRAPHS AND NUMBERS....8
  70.          Program Requirements and Installation.................8
  71.          Using the Menu System.................................8
  72.          Tutorial:Try This Example............................11
  73.      
  74.      PART III USING SCIENCE FAIR GRAPHS AND NUMBERS...........14
  75.          How Data is Stored...................................14
  76.          Designing and Creating a Database....................14
  77.               Using a Predefined Database structure...........15
  78.               Defining Custom Fields in Your Database.........15
  79.          Limitations to the Database..........................16
  80.          Example Graphs.......................................16
  81.               Creating a Bar Chart............................16
  82.               Creating a Pie Chart............................17
  83.               Creating a Scatterplot/Regression Line..........17
  84.               Creating a Time Series/Line Plot................17
  85.          Descriptive Statistics Example.......................17
  86.               Creating a Database.............................19
  87.               Entering the data...............................20
  88.               Calculating Summary Statistics..................20
  89.               Viewing the results.............................23
  90.          Choosing Which Database Mode to Use..................23
  91.               Using the spreadsheet entry mode................23
  92.               Using the database entry mode...................24
  93.          Editing Database information.........................24
  94.               Correcting errors in the database...............25
  95.               Using Entry & Edit Screen Function Keys.........25
  96.               Editing, Deleting and Packing Data..............25
  97.               Modifying and Displaying the Database Structure.26
  98.          Listing the Database to the Screen...................27
  99.          Killing a Database...................................27
  100.          Exiting SF G&N.......................................27
  101.          Creating a New Field.................................27
  102.          Replacing the contents of a Field (Calculations).....28
  103.          Subsetting the Database..............................32
  104.          Setting and Using Missing Value Code.................33
  105.          Entering Data From other Files.......................34
  106.          Interpreting Error Codes.............................37
  107.          Problem Report.......................................38
  108.          Shareware Explained..................................39
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.      --------------------------------------------------------------------
  117.                  Become a Registered User, Print an Order Form
  118.                                         2
  119.      
  120.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  121.      --------------------------------------------------------------------
  122.      
  123.      
  124.              PART I: HINTS FOR ORGANIZING YOUR SCIENCE FAIR PROJECT
  125.      
  126.      A Science Fair project can be fun and exciting -- but only if you
  127.      plan ahead, create a plan, and follow your plan. Here are some
  128.      helpful hints to make your project more successful. This brief
  129.      discussion is meant to give you ideas and directions. However,
  130.      you may need to refer to your teacher's notes and recommended
  131.      books for more details on the planning process.
  132.      
  133.      THINK THROUGH A TOPIC BEFORE YOU BEGIN
  134.      
  135.      Choosing a topic is sometimes the hardest part of doing a
  136.      project. You want to choose something that is not too simple --
  137.      if it's too simple it probably won't get you a good grade. You
  138.      also do not want your project to be too complex -- you'll work
  139.      yourself to death, and then someone will think your parents did
  140.      the whole project for you.
  141.      
  142.      The best way to pick a topic is to begin thinking of something
  143.      that is of interest to you. Are you interested in the
  144.      environment? sports? music? pets? food? magnets? motors? Make a
  145.      list of things that your are interested in. From that list, think
  146.      of problems or questions you have about these topics. Suppose you
  147.      are interested in magnets. You might wonder what makes an
  148.      electro-magnet stronger or weaker. Is it the gauge of wire used?
  149.      Make a list of questions you have about the topic.
  150.      
  151.      Now -- this suggestion will often separate the A+ projects from
  152.      the B projects -- ask someone who knows about the topic. Ask an
  153.      engineer about magnets. Ask a vet about pets. Ask a chemist about
  154.      ozone. Ask a biologist about germs. A simple phone call to
  155.      someone you know or someone your parent knows can make a big
  156.      difference in the outcome of your project.
  157.      
  158.      Also -- some communities have Science Fair stores that are full
  159.      of ideas, projects and supplies -- plus the people working at
  160.      these stores can often help you focus in on an interesting and
  161.      fun project. You might also refer to these or other books that
  162.      can help you develop a project:
  163.      
  164.      BLUE RIBBON SCIENCE FAIR PROJECTS, by Maxine Haren Iritz, Tab
  165.      Books, 1991
  166.      THE COMPLETE HANDBOOK OF SCIENCE FAIR PROJECTS, by Julianne Blair
  167.      Bochinski, Wiley Science Editions. 1990
  168.      SUCCESSFUL SCIENCE PROJECTS, by Sandra Markle, Lothrop, Lee &
  169.      Shepard Books, 1992.
  170.      
  171.  
  172.  
  173.  
  174.  
  175.      --------------------------------------------------------------------
  176.                  Become a Registered User, Print an Order Form
  177.                                         3
  178.      
  179.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  180.      --------------------------------------------------------------------
  181.      
  182.      
  183.      ORGANIZE AND PLAN YOUR EXPERIMENT
  184.      
  185.      Once you have decided on a topic, focus in on ONE important and
  186.      answerable question. Do not try to answer a series of questions -
  187.      - concentrate on a single testable question. For example, suppose
  188.      you are interested in magnets. Instead of looking at a number of
  189.      different magnet ideas, concentrate on one test -- for example,
  190.      how does the wire used in a magnet effect its strength?
  191.      
  192.      Once you have settled on a single question, develop a way to test
  193.      the question. In the magnet case, you can purchase magnet wire
  194.      from stores such as Radio Shack or a Science Fair Store. Then you
  195.      could create three (or more) magnets. For example
  196.      
  197.      1) an electromagnet using small gauge wire
  198.      2) an electromagnet using medium gauge wire
  199.      3) an electromagnet using large gauge wire
  200.      
  201.      Without doing any testing, you should have some idea -- an
  202.      educated guess -- of how the experiment will come out. This is
  203.      called your hypothesis. For example, your hypothesis might be:
  204.      
  205.      Hypothesis: I believe that the electromagnet using the large
  206.      gauge wire will be the strongest, and the one using the small
  207.      gauge wire will be the weakest.
  208.      
  209.      Now how are you going to test this hypothesis? You must now
  210.      design your experiment.
  211.      
  212.      DESIGN YOUR EXPERIMENT
  213.      
  214.      Your experiment should be designed with the specific purpose of
  215.      providing evidence for your hypothesis. It is amazing how many
  216.      experiments are so badly planned that the results offer no real
  217.      evidence to support the hypothesis. Think through the experiment,
  218.      and its possible outcomes carefully before you begin.
  219.      
  220.      For example, ask your self questions like these: How will you
  221.      measure your outcomes? Will you use a tape measure? a
  222.      thermometer? a scale? counting? How will you make sure that there
  223.      is no bias (some factor not being tested that favors one outcome
  224.      over another)? In other words, you want to give each item you
  225.      test the same fair chance. (You might look up the concept of
  226.      random sampling to learn more about avoiding bias.)
  227.      
  228.      For example, in the magnet project you decide to measure the
  229.      strength of the magnets by seeing how many small nails (for
  230.      example 3 penny nails) they can pick up.
  231.      
  232.      You create three magnets using the same size piece of metal (for
  233.      example, a 16 penny nail), and wrap the same amount of wire in
  234.      --------------------------------------------------------------------
  235.                  Become a Registered User, Print an Order Form
  236.                                         4
  237.      
  238.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  239.      --------------------------------------------------------------------
  240.      
  241.      
  242.      the same way around each of the three nail magnets (for example,
  243.      two feet of wire).
  244.      
  245.      Using the same battery, you hook up the magnets one at a time,
  246.      and see how many nails it can pick up from a pile of nails.
  247.      
  248.      Going Further (for 7th grade and above): The example above
  249.      describes a simple experiment. Here is an idea to make the
  250.      experiment more interesting: For a more detailed experiment, you
  251.      would want to repeat the test several times. How will you make
  252.      sure there is no bias? For example, the battery may be weaker on
  253.      the second magnet, and weaker again on the third. Scientists hope
  254.      to eliminate bias by repeating experiments several times under
  255.      the exact same conditions. You should perform the magnet
  256.      experiment three or four times. Repeating your test is a
  257.      fundamental aspect of good science. Another aspect of repeating
  258.      the experiment is to run the experiment in a different order each
  259.      time. For example, the first time, you might try the magnets in
  260.      this order: Small, Medium, Large. Then second time you would use
  261.      a different order. For example, Medium, Large, Small. Use a
  262.      different order each time you repeat the experiment.
  263.      
  264.      ANALYZE THE RESULTS
  265.      
  266.      Once you have observed how many nails the magnets will pick up,
  267.      you an plot the results using the Science Fair program. For
  268.      example, suppose in the simple experiment that you observed this
  269.      data:
  270.      
  271.            MAGNET       NAILS
  272.            ----------   ---------
  273.             SMALL        31
  274.             MEDIUM       38
  275.             LARGE        51
  276.      
  277.      You could then create a bar chart showing the results. The
  278.      tutorial included in the Science Fair program shows you how to
  279.      create a bar chart using this data.
  280.      
  281.      Going Further (for 7th grade and above): If you repeated the
  282.      experiment, so you have several observations for each magnet
  283.      type, you might report and graph the average number of nails for
  284.      each magnet type.
  285.      
  286.      Using the Science Fair Program, you could use the Descriptive
  287.      Statistics option to calculate the mean (average) and a
  288.      confidence interval for each insulation type.  A confidence
  289.      interval is a calculated range of numbers that, with a certain
  290.      amount of confidence, contains the real mean of the information
  291.      you are measuring. You could graph this as three lines, a middle
  292.      thick line representing the average, and two thin lines
  293.      --------------------------------------------------------------------
  294.                  Become a Registered User, Print an Order Form
  295.                                         5
  296.      
  297.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  298.      --------------------------------------------------------------------
  299.      
  300.      
  301.      representing the high and low confidence limits for the three
  302.      insulation types. This presentation takes into account the spread
  303.      (variance) of the data.
  304.      
  305.      For example, suppose you observed the following data
  306.      
  307.      Small Magnet   Medium Magnet  Large Magnet
  308.           31             38             51
  309.           33             40             48
  310.           29             39             47
  311.           30             37             50
  312.      
  313.      To use the program to calculate the mean and confidence interval
  314.      for each magnet type, enter the data into a database like this:
  315.      
  316.      Fields in the database (call it MAGNET2, for example)
  317.      
  318.      Field name     Type      Width     Decimal Places
  319.      SMALL          Numeric   3         0
  320.      MEDIUM         Numeric   3         0
  321.      LARGE          Numeric   3         0
  322.      
  323.      Use the descriptive statistics to calculate the mean (average)
  324.      and a confidence interval for each magnet type. The results
  325.      should be:
  326.      
  327.      Magnet    Mean      Low Limit      High Limit
  328.      SMALL     30.75     28.02          33.47
  329.      MEDIUM    38.5      36.44          40.56
  330.      LARGE     44.0      46.09          51.91
  331.      
  332.      You could then create a bar plot with the mean as a bar and the
  333.      low and high limits as points. To draw this plot, create a
  334.      database (call it MAGNET3, for example) using these fields:
  335.      
  336.      Field name     Type      Width      Decimal Places
  337.      MAGNET         Character  7         -
  338.      MEAN           Numeric    5         2
  339.      LOWLIMIT       Numeric    5         2
  340.      HILIMIT        Numeric    5         2
  341.      
  342.      Then, enter the data where the first record will have
  343.      
  344.      MAGNET = SMALL
  345.      MEAN = 20.75
  346.      LOWLIMIT = 28.02
  347.      HILIMIT = 33.47
  348.      
  349.      and so on. Choose a bar chart, and plot the MEAN, LOWLIMIT and
  350.      HILIMIT fields, using the MAGNET field as the label field. The
  351.      chart will initially appear as a bar chart with three bars per
  352.      --------------------------------------------------------------------
  353.                  Become a Registered User, Print an Order Form
  354.                                         6
  355.      
  356.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  357.      --------------------------------------------------------------------
  358.      
  359.      
  360.      item. Use the <Options> menu item (second screen) to change the
  361.      plot types for LOWLIMIT and HILIMIT from B (bar) to P (Point),
  362.      and replot. The resulting plot will be three bars representing
  363.      the three magnet types, with a two points on each bar
  364.      representing the confidence limit. Since the limits do not
  365.      overlap for any of the bars, you can conclude that the strengths
  366.      of the magnets are indeed different, and that the higher the
  367.      gauge wire used in the magnet, the more nails the magnet is able
  368.      to pick up (all other factors being held equal).
  369.      
  370.      This plot clearly shows the average number of nails picked up by
  371.      each magnet, and contains information on the spread of the
  372.      observations. This kind of plot lets you see if averages are far
  373.      enough apart to be considered a significant difference or not. If
  374.      the confidence interval of one group does not overlap the
  375.      confidence of another group, it gives you evidence to say that
  376.      the averages are significantly different. For more information
  377.      about the concept of statistically significant differences,
  378.      consult a book on statistical analysis.
  379.      
  380.      EXPERIMENT CONCLUSIONS
  381.      
  382.      You conclusions for this experiment, based on the numbers and
  383.      graph can be that  the strengths of the magnets are indeed
  384.      different, and that the higher the gauge wire used in the magnet,
  385.      the more nails the magnet is able to pick up. The version of the
  386.      experiment using repeated tests gives the most evidence to make
  387.      this conclusion.
  388.      
  389.      This simple example has shown you some of the ways you can use
  390.      the Science Fair program to calculate statistics and create
  391.      graphs.
  392.      
  393.      
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.      --------------------------------------------------------------------
  412.                  Become a Registered User, Print an Order Form
  413.                                         7
  414.      
  415.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  416.      --------------------------------------------------------------------
  417.      
  418.      
  419.                PART II AN OVERVIEW OF SCIENCE FAIR GRAPHS & NUMBERS
  420.                ====================================================
  421.      
  422.      SCIENCE FAIR GRAPHS & NUMBERS (SF G&N) is a program that allows you to
  423.      create graphs and calculate statistics that are commonly used for
  424.      science, business and social study projects.
  425.      
  426.      PROGRAM REQUIREMENTS AND INSTALLATION
  427.      
  428.      SF G&N is designed to run on IBM PC and 100% compatible computers
  429.      including the IBM PS/2 computers. It requires PC-DOS or MS-DOS version
  430.      3.0 or higher. Your computer should contain at least 512K or more of
  431.      free RAM memory. SCIENCE FAIR GRAPHS & NUMBERS graphics require an EGA
  432.      or VGA compatible monitor. HP Laserjet and Epson compatible printers
  433.      are supported. A mouse is optional.
  434.      
  435.      To install on a hard disk, place the SF G&N distribution disk in the
  436.      A: (or B:) drive and make A: (or B:) the default drive by entering A:
  437.      (or B:). Then, enter the command
  438.      
  439.      INSTALL
  440.      
  441.      and follow the instructions on the screen.
  442.      
  443.      USING THE MENU SYSTEM
  444.      
  445.      Once you installed and setup SF G&N, to begin the program, enter the
  446.      the SF command from the DOS prompt, in the \SFG directory.
  447.      
  448.      The menu system is very similar to a standard windows-like menu
  449.      system. The main menu contains five options, File, Edit, Analyze Helps
  450.      and About. Using the right and left arrow keys on the cursor pad, you
  451.      can move the menu selection to one of the other menu bar options.
  452.      Pressing the right arrow key once, moves the menu bar option from File
  453.      to Edit. The FILE pull-down menu vanishes and the Edit pull-down menu
  454.      appears. Pressing the left arrow key moves the selection back to the
  455.      File menu. Or, point to a menu option with the mouse and click.
  456.      
  457.      To select options from an extended menu (pulled-down), use the up and
  458.      down arrow keys on the cursor pad to highlight the option you desire,
  459.      then press the Enter key. Or, press the first letter of the option
  460.      name. If you are using a mouse, point to the selection with the mouse
  461.      pointer and click. Here is brief description of each menu:
  462.      
  463.      
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.      --------------------------------------------------------------------
  471.                  Become a Registered User, Print an Order Form
  472.                                         8
  473.      
  474.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  475.      --------------------------------------------------------------------
  476.      
  477.      
  478.      DEFINITIONS:
  479.      ------------
  480.           DATABASE - a file containing information (usually numbers)
  481.           that you will use to create your graphs or calculate
  482.           statistics. In SF G&N, a database file uses the industry
  483.           standard dBase II and IV format.
  484.           
  485.           FIELD - in this document same as variable. A field or
  486.           variable is the name given a set of numbers in a database,
  487.           such as AGE
  488.           
  489.           GROUP - a field containing information that tells the
  490.           program from which group a record belongs. For example, a
  491.           group field could be SEX, and contain the information F and
  492.           M. If the SEX grouping field in record contained a F, the
  493.           data would be about a female. If the SEX grouping field
  494.           contained an M, the data would be about a male.
  495.           
  496.           LABEL - a field containing information that will be used as
  497.           labels on a plot.
  498.           
  499.           STATISTICS - calculated values that summarize a collection
  500.           of numbers. For example, the arithmetic average (also called
  501.           a mean) of numbers is a statistic.
  502.           
  503.           VARIABLE - see Field above.
  504.           
  505.      USING THE FILE MENU
  506.      
  507.      Before you can create a graph or calculate statistics, you must enter
  508.      numbers into a database. The DATA menu contains:
  509.      
  510.      o NEW DATABASE  - Allows you to create a new database. You must create
  511.      a new database and enter data before doing any analysis or creating a
  512.      graph. The program creates and reads dBase (.DBF) type file format
  513.      databases.
  514.      
  515.      o OPEN A DATABASE - Allows you to open an existing database. A
  516.      database must be opened so the program will know where the data is
  517.      located.
  518.      
  519.      o SUBSET DATABASE - Creates a new database that is a subset of the
  520.      current database.
  521.      
  522.      o COPY/BACKUP - Creates a copy of the database. Useful to create a
  523.      duplicate copy in case the original copy is damaged.
  524.      
  525.      o LIST (DISPLAY) THE CONTENTS OF THE DATABASE - Displays the
  526.      information in the database to the screen.
  527.      
  528.      o MODIFY OR DISPLAY DATABASE STRUCTURE - Allows you to view or
  529.      --------------------------------------------------------------------
  530.                  Become a Registered User, Print an Order Form
  531.                                         9
  532.      
  533.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  534.      --------------------------------------------------------------------
  535.      
  536.      
  537.      change characteristics about the database, including field widths and
  538.      types.
  539.      
  540.      o KILL DATABASE - Delete a database file from your disk.
  541.      
  542.      o EXIT - End the program.
  543.      
  544.      USING THE EDIT MENU
  545.      
  546.      The edit menu contains options that allows you to enter new data
  547.      into a database, edit data currently in a database, and other
  548.      editing options:
  549.      
  550.      o EDIT RECORDS - Change data already in the database.
  551.      
  552.      o APPEND RECORDS - Add new records to the database.
  553.      
  554.      o MISSING VALUE CODES - Define missing value codes for your database.
  555.      
  556.      o PACK DATABASE - Permanently erase all records marked for delete.
  557.      
  558.      o ZIP DATABASE - Permanently erase all records in the database.
  559.      
  560.      USING THE ANALYZE MENU
  561.      
  562.      The Analyze menu allows you to choose which analysis module to run.
  563.      Initially, SF&G contains two options,
  564.      
  565.      o GRAPHS - Display and print graphs.
  566.      
  567.      o STATISTICS - Calculate, display and print statistics.
  568.      
  569.      o CREATE PROJECT LABELS - Allows you to print large character labels
  570.      to your printer.
  571.      
  572.      When you choose an ANALYZE option, the analysis menu will appear
  573.      allowing you to choose an option.
  574.      
  575.      USING THE HELPS and ABOUT... MENUS
  576.      
  577.      The SF G&N Help system contains several helps options:
  578.      
  579.      o PROGRAM HELP - Displays general helps about how to use the
  580.      program, including brief examples of how to create a database for
  581.      each type of graph.
  582.      
  583.      o TUTOR - Begins the tutorial that walks you through the creation of
  584.      a graph.
  585.      
  586.      o CHANGE SETUP OPTIONS - Change program options such as color,
  587.      default entry mode, printer type and monitor type.
  588.      --------------------------------------------------------------------
  589.                  Become a Registered User, Print an Order Form
  590.                                         10
  591.      
  592.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  593.      --------------------------------------------------------------------
  594.      
  595.      
  596.      
  597.      o DEFAULT PATH SPECIFICATION - Change the default path where you
  598.      store your data.
  599.      
  600.      o AUTOHELP/HINTS - Toggles the Autohelp feature on or off.
  601.      
  602.      o GO TO DOS - Temporarily exit program to the DOS prompt, then
  603.      return with the EXIT command.
  604.      
  605.      The ABOUT... menu displays copyright information and allows you to
  606.      print an order form.
  607.      
  608.                            -------------------------
  609.                            TUTORIAL:TRY THIS EXAMPLE
  610.                            -------------------------
  611.      
  612.      This short tutorial will give you a feeling for how to use SCIENCE
  613.      FAIR GRAPHS & NUMBERS. It is not intended to be thorough, but simply
  614.      to lead you though creation of a common graph. It will assume you are
  615.      using SF G&N on a hard disk.
  616.      
  617.      To begin SCIENCE FAIR GRAPHS & NUMBERS, you must first be in the \SFG
  618.      directory on your hard disk. Use the CD (Change Directory) command
  619.      from the DOS prompt to change to the \SFG directory by using the
  620.      command:
  621.      
  622.      CD \SFG
  623.      
  624.      Once in the \SFG directory, begin SF G&N with
  625.      the SF command:
  626.      
  627.      SF
  628.      
  629.      The FILE pull-down menu will appear. (If the Analyze menu appears,
  630.      press the left arrow key twice to open the File menu.) This example
  631.      will use data already stored in a dBase ".DBF" file named EXAMPLE
  632.      currently on the SF G&N disk. Follow these steps:
  633.      
  634.      1. Open the database named EXAMPLE by selecting the OPEN DATABASE
  635.      option from the File menu, then choose EXAMPLE from the list of files.
  636.      (If the EXAMPLE database does not appear on the list of databases, you
  637.      may not have installed the program correctly.)
  638.      
  639.      Once the database is opened, a notice at the bottom of the screen tells
  640.      you that the database named EXAMPLE is open, and it contains 50
  641.      records.
  642.      
  643.      2. Choose the LIST DATABASE option from the menu. This will list the
  644.      contents of EXAMPLE database to the screen. Press Enter several times
  645.      to list the entire database to the screen. When the list is finished,
  646.      you will return to the File pull-down menu.
  647.      --------------------------------------------------------------------
  648.                  Become a Registered User, Print an Order Form
  649.                                         11
  650.      
  651.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  652.      --------------------------------------------------------------------
  653.      
  654.      
  655.      
  656.      3. Choose the Analyze pull-down menu.
  657.      
  658.      4. From the ANALYZE menu, choose the GRAPHS option. SF G&N now
  659.      switches to the Graphs (which may take a few seconds). Soon, you will
  660.      see the Graphs module menu.
  661.      
  662.      5. From the Graphs menu, choose the TIME SERIES PLOT option The
  663.      program now displays a screen with the fields available for use by
  664.      the graph. The field names appear in a pick box to the left of the
  665.      screen, and an empty box appears at the right of the screen.
  666.      
  667.      6. From the left screen (list of fields), choose which fields to plot
  668.      in the time series plot. Choose the fields TIME1 and TIME2.
  669.      
  670.      HINT: To choose a field, point to it with the mouse cursor and click
  671.      once, or use the up and down arrow keys to highlight the field name
  672.      and press enter.
  673.      
  674.      When you choose a field, it will appear in the "FIELDS TO GRAPH" box.
  675.      After you choose the two fields, choose FINISH CHOOSING VARIABLES.
  676.      
  677.      After a few seconds, a time series plot will appear containing two
  678.      lines. The menu at the top of the page can be used to selection a
  679.      number of options for the graph. The options include:
  680.      
  681.      o EXIT - exit the graph and return to the menu.
  682.      
  683.      o Options - choose options for the graph including title, axis
  684.      names, footnote, and other options.
  685.      
  686.      o PRINT - print the graph to your printer.
  687.      
  688.      o CAP/PCX - capture the graph as a PCX file.
  689.      
  690.      o Get Color - choose colors to be used to display the graph.
  691.      
  692.      o < + > - Smartpoint (tm) pointer used to select a datapoint on the
  693.      screen. Information about the point will be displayed.
  694.      
  695.      7. On all graphic screens in SF G&N, a similar menu will appear at the
  696.      top of the screen. If you want the menu to temporarily vanish, press
  697.      the spacebar. Press the spacebar again for the menu to reappear. The
  698.      menu is active even if it is not shown.
  699.      
  700.      HINT: To choose an option from the graph option menu, press the first
  701.      letter of the option or point to the option with the mouse pointer and
  702.      click.
  703.      
  704.      8. If you are using a mouse, place the mouse pointer on a datapoint
  705.      on the screen and click. Or, if you are not using a mouse, press the
  706.      --------------------------------------------------------------------
  707.                  Become a Registered User, Print an Order Form
  708.                                         12
  709.      
  710.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  711.      --------------------------------------------------------------------
  712.      
  713.      
  714.      + (plus) key, then use the cursor keys to position the + over a
  715.      datepoint on the screen, and press Enter. Information about the
  716.      datapoint you selected will be displayed on the screen. This feature
  717.      is particularly helpful in identifying points that are interesting
  718.      or "outliers." Press Enter to return to the plot
  719.      
  720.      9. Press G or click on the < get color > option. The color menu will
  721.      appear. From this menu you can select color options. Experiement
  722.      with these choices to see how you can change the colors of the plot.
  723.      
  724.      Most plots contain the following "get color" menu:
  725.      
  726.      o Menu - returns to the main graph menu
  727.      
  728.      o Graph - changes graph colors
  729.      
  730.      o Screen - changes background screen colors
  731.      
  732.      o Labels - changes label colors
  733.      
  734.      o Default - return plot to original default colors
  735.      
  736.      o B&W - diaplys plot in black and white
  737.      
  738.      o Help - displays help system
  739.      
  740.      o + (plus sign) - activates Smartpoint
  741.      
  742.      Some get color menus also contain the option:
  743.      
  744.      o Tile - paints the plot using tiles rather than solid colors
  745.      
  746.      HINT: You can use a captured PCX file to import into other programs,
  747.      such as WordPerfect or Paint.
  748.      
  749.      TIP: When you choose to print or capture the screen, the menu will
  750.      vanish, so the menu will not appear on the printout or PCX graphic.
  751.      
  752.      10. Choose Exit to return to the Graph menu. Choose Exit again to
  753.      return to the main menu.
  754.      
  755.      NOTE: You can also go through an on-screen tutorial on how to create a
  756.      chart by choosing the TUTORIAL option on the HELPS menu.
  757.      
  758.      
  759.      
  760.  
  761.  
  762.  
  763.  
  764.  
  765.      --------------------------------------------------------------------
  766.                  Become a Registered User, Print an Order Form
  767.                                         13
  768.      
  769.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  770.      --------------------------------------------------------------------
  771.      
  772.      
  773.                 PART III -- USING SCIENCE FAIR GRAPHS AND NUMBERS
  774.                 =================================================
  775.      
  776.      The SF G&N FILE pull-down menu in the main SF G&N module is used to
  777.      manage your data. From this menu you enter data, change data, create
  778.      new data fields from existing ones, and perform other data maintenance
  779.      tasks. Once your data is in the SF G&N database, you can access the
  780.      data from any of the other SCIENCE FAIR GRAPHS & NUMBERS modules.
  781.      
  782.      HOW DATA IS STORED
  783.      
  784.      A SF G&N database uses the same file format as the dBase III and
  785.      dBase IV programs.  Therefore, data already stored in a dBase III or
  786.      dBase IV file may be read directly into all the SF G&N programs. The
  787.      only exception to this is that SF G&N does not read dBase MEMO fields.
  788.      Therefore, if your data in dBase contains memo fields, you may have to
  789.      create a subset of your database before using it in SCIENCE FAIR
  790.      GRAPHS & NUMBERS. Data from other programs can also be used in SCIENCE
  791.      FAIR GRAPHS & NUMBERS. Refer to the section called "Entering Data into
  792.      the Database."
  793.      
  794.      The menu for the file options appears as the FILE option on the main
  795.      SF G&N menu. The following information describes how to use the
  796.      options in this menu to create, manipulate and modify a database.
  797.      
  798.      The Open Database option on the Data menu allows you to access
  799.      information in a dBase file that you created in SCIENCE FAIR GRAPHS &
  800.      
  801.      NUMBERS, in dBase, or in any other program that creates .DBF files.
  802.      Use this option to choose the database that you will be analyzing.
  803.      
  804.      When you choose the OPEN option on the FILE menu, a list of databases
  805.      currently in the default directory will be displayed. If the database
  806.      you want to use is not in the current (default) directory, you can
  807.      temporarily change the default directory by pressing the F2 function
  808.      key. Once a database is open, you will see its name at the bottom left
  809.      of the screen, along with the number of records in the database.
  810.      
  811.      DESIGNING AND CREATING A DATABASE
  812.      
  813.      The New Database option on the FILE menu is used to create a new
  814.      database.  The structure, or layout, of a database must be described
  815.      before you enter your data.  You need to give some thought to how your
  816.      database will "look" so it will be in the proper format to do the
  817.      analysis you desire.
  818.      
  819.      SF G&N allows you to create a new database in two ways:
  820.      
  821.      1. Choose from a predefined structure or
  822.      
  823.      2. Create a customized database
  824.      --------------------------------------------------------------------
  825.                  Become a Registered User, Print an Order Form
  826.                                         14
  827.      
  828.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  829.      --------------------------------------------------------------------
  830.      
  831.      
  832.      
  833.      USING A PREDEFINED DATABASE STRUCTURE
  834.      
  835.      You can choose to create a custom database structure or you can choose
  836.      from a list of pre-defined databases that are designed for specific
  837.      analyses. The list below contains examples of some of the pre-defined
  838.      database descriptions. For example, if you need to enter data for an
  839.      bar chart, you would choose the option called "SIMPLE BAR CHART". The
  840.      proper database structure for this analysis will be created and then
  841.      you can enter your data into the database. Some of the
  842.      predefined database options are:
  843.      
  844.      Simple BAR CHART database: Label and Value
  845.      PIE CHART: Label and Value
  846.      BAR CHART, 2 Groups:Label, Two values
  847.      BAR CHART, Up to 5 Groups:Label, Five values
  848.      HISTOGRAM or Statistics or Stem & Leaf, 1 Value
  849.      HISTOGRAM or Statistics or Stem & Leaf, 1 Value, 1 group
  850.      X-Y CHART/SCATTERGRAM, 2 Values
  851.      X-Y CHART/SCATTERGRAM with GROUP, 2 Values, 1 GROUP
  852.      TIME SERIES PLOT, 1 VALUE
  853.      
  854.      HINT: If you choose a predefined database structure that contains
  855.      too many fields, you can use the editor to delete (or add) fields to
  856.      make the database fit your needs. Or, if you have too many fields, you
  857.      can just enter a dummy value such as 0 in each record of the field you
  858.      do not need to use.
  859.      
  860.      DEFINING CUSTOM FIELDS IN YOUR DATABASE
  861.      
  862.      If you choose to create a custom database, you must tell the program
  863.      what fields you want to use. If possible, always use a predefined
  864.      structure. However, there may be times when you need to create a
  865.      customized structure. Follow these procedures to create a custom
  866.      database structure.
  867.      
  868.      1. When you first enter the definition mode, the blinking cursor will
  869.      be in the FIELD NAME area. Enter a name, (must begin with a letter,
  870.      can contain letters, numbers and "_" (underscore) and may be up to 10
  871.      characters long) and press the ENTER key. The name you choose will be
  872.      displayed in all capital letters, and the cursor will move to the next
  873.      area, TYPE.
  874.      
  875.      2. In the TYPE area, you only need to enter the first character of the
  876.      type (N, C, L or D), - Numeric, Character, Logical or Date, then press
  877.      the ENTER key.
  878.      
  879.      WIDTH is the number of characters reserved for the entry. DECIMAL is
  880.      the number of decimal places (only for numbers). Note that the number
  881.      of decimal places must be at least one less than the width. For
  882.      example, if a number has the format ###.##, the width is 6 (count the
  883.      --------------------------------------------------------------------
  884.                  Become a Registered User, Print an Order Form
  885.                                         15
  886.      
  887.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  888.      --------------------------------------------------------------------
  889.      
  890.      
  891.      decimal point), and the number of decimal places is 2. If DATE or
  892.      LOGICAL is entered as type, the program will automatically assign a
  893.      width of 8 or 1 respectively.
  894.      
  895.      Unless your database is big, you might make each field one more
  896.      character wide that you actually need.  This provides for
  897.      unanticipated large numbers and facilitates data entry.
  898.      
  899.      3. Once a complete field description is entered, a next blank field
  900.      description will appear, ready for entry. Enter information for each
  901.      field needed in the database as described in steps 1 and 2.
  902.      
  903.      4. To end the creation process, type Ctrl-END (^END).
  904.      
  905.      HINT:As long as you have not ended the procedure, you may use the
  906.      cursor keys to back up, and make any corrections. If you mess up, end
  907.      the procedure with Esc and begin again.
  908.      
  909.      5. When you press ^End, you will be in the database entry screen,
  910.      where you can enter your data.
  911.      
  912.      LIMITATIONS TO THE DATABASE
  913.      
  914.      Maximum of 250 fields.
  915.      Maximum width of a field name is 10 characters.
  916.      Maximum width of a cell is 60 characters (15 for numbers).
  917.      Dates are always 8 characters and logical fields are 1 character wide.
  918.      Memo fields are not supported.
  919.      
  920.      EXAMPLE GRAPHS
  921.      
  922.      Following are some examples of the kinds of databases you would need
  923.      to create for several kinds of graphs:
  924.      
  925.      CREATING A BAR CHART
  926.      
  927.      Create the database and enter the data (see Creating a Database). Your
  928.      database should look something like this:
  929.      
  930.      - It should contain a Label field & a Value field (the value field
  931.      contains the numbers to use for the plot.) For example: the MAGNET is
  932.      the LABEL field and NAILS is the VALUE field.
  933.      
  934.              ----these are the fields-----
  935.      RECORD        MAGNET     NAILS
  936.                    ------     ------
  937.      1              SMALL      38    -+
  938.      2              MEDIUM     46     |--- this is the data to plot
  939.      3              LARGE      59    -+
  940.                       |
  941.                       +----------------- these are the labels for the plot
  942.      --------------------------------------------------------------------
  943.                  Become a Registered User, Print an Order Form
  944.                                         16
  945.      
  946.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  947.      --------------------------------------------------------------------
  948.      
  949.      
  950.      
  951.      NOTE: This will create a BAR CHART with 3 bars labeled SMALL, MEDIUM &
  952.      LARGE. You could also use this same data to create a pie chart NOTE:
  953.      You can have more than one value field, & create a side-by-side bar
  954.      chart or a stacked bar chart. This data can also be used for a line
  955.      chart or an area chart.
  956.      
  957.      CREATING A PIE CHART
  958.      
  959.      Create the database and enter the data (see Creating a Database). Your
  960.      database should look something like this:
  961.      
  962.      - It should contain a Label field
  963.      - It should contain a Value field (contains the numbers to use for the
  964.      plot)
  965.      
  966.      For example: the COLOR is the LABEL field and COUNT is the VALUE
  967.      field. This data refers to hair color for 50 people in your class.
  968.      
  969.              ----these are the fields-----
  970.      RECORD        COLOR      COUNT
  971.                    ------     ------
  972.      1              BLONDE      9    -+
  973.      2              BROWN      14     |--- this is the data to plot
  974.      3              BLACK      22    -+
  975.      4              RED         5
  976.                       |
  977.                       +------------------- these are the labels for the plot
  978.      
  979.      This will create a PIE CHART with 4 slices. You could also use the
  980.      same database to create a bar chart.
  981.      
  982.      CREATING A SCATTERPLOT/REGRESSION LINE
  983.      
  984.      Create the database and enter the data (see Creating a Database). Your
  985.      database should look something like this:
  986.      
  987.      - It should contain a GROUP field (if you have more than one group)
  988.      - It should contain two or more value fields (contains the numbers to use
  989.      for the plot)
  990.      
  991.      For example: the SEX is the GROUP field and Height and Weight fields
  992.      are the VALUE fields.
  993.      
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001.      --------------------------------------------------------------------
  1002.                  Become a Registered User, Print an Order Form
  1003.                                         17
  1004.      
  1005.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  1006.      --------------------------------------------------------------------
  1007.      
  1008.      
  1009.                    ----these are the fields-----
  1010.      RECORD          SEX      HEIGHT    WEIGHT
  1011.                    ------     ------    ------
  1012.      1                M         70      202     -+
  1013.      2                M         65      145      |<-- this is the data to
  1014.      3                M         72      188      |    plot
  1015.      :                F         60      103      |
  1016.      22               F         62      122      |
  1017.      23               F         59      112     -+
  1018.                       ^
  1019.                       |
  1020.                       +------------------- this is the group field
  1021.      
  1022.      This will create a SCATTERPLOT and REGRESSION LINE PLOT.
  1023.      
  1024.      CREATING A TIME SERIES/LINE PLOT
  1025.      
  1026.      Create the database and enter the data (see Creating a Database). Your
  1027.      database should look something like this:
  1028.      
  1029.      - It should contain one or more value fields (contains the numbers to
  1030.      use for the plot) and an optional label field.
  1031.      
  1032.      For example: Sales1 is a VALUE field for team1 and Sales2 for team2.
  1033.      Data should be in a time order. In this example, sales for a month.
  1034.      
  1035.               ----these are the fields-----
  1036.       RECORD   DAY      SALES1     SALES2
  1037.                ----     ------     ------
  1038.       1         1         4          3      -+
  1039.       2         2         5          4       |<-- this is the data
  1040.       3         3         6          4       |    to plot
  1041.       :                   4          5       |
  1042.       30       22         5          5       |
  1043.       31       23         6          5      -+
  1044.                ^
  1045.                |
  1046.                +------------------ these are the labels
  1047.      
  1048.      
  1049.      DESCRIPTIVE STATISTICS EXAMPLE
  1050.      
  1051.      This example shows you how to enter data and perform some simple
  1052.      statistics and graphs. The data that will be used is listed below. The
  1053.      GRADE variable is the grade received in the class, AGE is age, SEX is
  1054.      sex, WT is weight and SCORE is the score on a pre-test (maximum of 25
  1055.      points). In database language, these variables are called fields.
  1056.      
  1057.         GRADE      AGE    SEX    WT    SCORE
  1058.      1    A         18     M    165    22.3
  1059.      2    B         19     M    145    22.8
  1060.      --------------------------------------------------------------------
  1061.                  Become a Registered User, Print an Order Form
  1062.                                         18
  1063.      
  1064.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  1065.      --------------------------------------------------------------------
  1066.      
  1067.      
  1068.      3    B         17     F    122    22.8
  1069.      4    C         18     M    196    18.5
  1070.      5    B         17     M    188    19.5
  1071.      6    B         18     F    140    23.5
  1072.      7    C         19     F    121    22.6
  1073.      8    B         20     F    112    21.0
  1074.      9    C         19     F    122    20.9
  1075.      10   A         18     M    176    22.5
  1076.      11   B         18     M    165    23.3
  1077.      12   A         19     M    135    21.8
  1078.      13   A         18     F    121    24.8
  1079.      14   C         19     M    186    16.5
  1080.      15   B         17     M    148    18.5
  1081.      16   A         18     F    140    24.5
  1082.      17   B         16     F    101    23.6
  1083.      18   A         21     F    111    20.0
  1084.      19   B         17     F    124    21.9
  1085.      20   B         18     M    176    21.5
  1086.      
  1087.      Before performing any kind of analysis on this data, you must first
  1088.      enter it into a database  The process is:
  1089.      
  1090.         1. Create a database
  1091.         2. Enter the data
  1092.         3. Perform an analysis
  1093.      
  1094.      These processes will be explained in the next few sections.
  1095.      
  1096.      CREATING A DATABASE
  1097.      
  1098.      When you begin the program, the main menu appears. If you have not yet
  1099.      created the database, you must choose the NEW DATABASE option, which
  1100.      will lead you through the steps in creating a database. This section
  1101.      describes that procedure.
  1102.      
  1103.      Note: Once a database has been created, you can use the data in it
  1104.      again by choosing "Open a database to use" from the Data menu. When
  1105.      you choose Create a new database from the Data menu, you will then be
  1106.      prompted to enter the name of the database. You need to enter a name
  1107.      for the database that is a DOS compatible file name such as MYDATA.
  1108.      
  1109.      Once you have entered a filename for the database, you can choose from
  1110.      a list of pre-defined database structures, or create your own. In this
  1111.      example, you will create your own database structure. From the menu,
  1112.      choose the CREATE A CUSTOMIZED DATABASE option. For each field (each
  1113.      item of data) in the database, you must specify a fieldname, a type a
  1114.      width and optionally the number of decimal places. For the data in
  1115.      this example, you will use the following information:
  1116.      
  1117.  
  1118.  
  1119.      --------------------------------------------------------------------
  1120.                  Become a Registered User, Print an Order Form
  1121.                                         19
  1122.      
  1123.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  1124.      --------------------------------------------------------------------
  1125.      
  1126.      
  1127.      Field name   Type   Width   Dec
  1128.      GRADE         C       2
  1129.      AGE           N       3
  1130.      SEX           C       2
  1131.      WT            N       4
  1132.      SCORE         N       5      1
  1133.      
  1134.      The GRADE and SEX variables are of type "C" (Character) and the rest
  1135.      of the variables are numbers "N". Notice that the widths defined here
  1136.      are actually 1 character wider than actually needed. If you are not
  1137.      pressed for space in the database, this will make your listings easier
  1138.      to read. Only the SCORE variable requires a decimal value. Enter the
  1139.      information about the database structure into the database definition
  1140.      screen.
  1141.      
  1142.      ENTERING THE DATA
  1143.      
  1144.      When you choose to enter the data in a new database, an entry screen will
  1145.      appear listing the names of all of the fields and an area to enter the
  1146.      data. The program includes two types of data entry screen, database
  1147.      type and spreadsheet type. In the Setup routine, you chose one of
  1148.      these two entry options. The following discussion shows you how to
  1149.      enter data in either screen.
  1150.      
  1151.      TIP: You can toggle between spreadsheet entry mode and database entry
  1152.      mode by pressing the F8 (Switch) key.
  1153.      
  1154.      CALCULATING SUMMARY STATISTICS
  1155.      
  1156.      Once you have entered your data into the database, you are ready to
  1157.      perform one or more analyses. Exit the data entry mode by pressing the
  1158.      F7 - Exit key. You will return to the main menu. All of the analysis
  1159.      procedures are listed in the Analyze menu. With the main menu
  1160.      displayed, you can press the right or left arrow key to pull-down the
  1161.      Analyze menu.
  1162.      
  1163.      For the MYDATA database you have just created, you will calculate some
  1164.      summary statistics and display a graph.
  1165.      
  1166.      From the Analyze menu on the main menu screen, choose the Statistics
  1167.      option. A new menu will appear containing the options for the
  1168.      Statistics program module.
  1169.      
  1170.      The Statistics menu lists the statistics you can produce from
  1171.      information in the current database. For example, suppose you want to
  1172.      calculate summary statistics for all of the numeric variables in your
  1173.      database. To do this, select the option called Summary Statistics on a
  1174.      number of variables. A screen will appear prompting you to specify
  1175.      what fields to use in the calculations. A list of the variables in the
  1176.      database appears. Enter the field numbers for each variable you want
  1177.      included in the analysis, separating each variable number with a
  1178.      --------------------------------------------------------------------
  1179.                  Become a Registered User, Print an Order Form
  1180.                                         20
  1181.      
  1182.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  1183.      --------------------------------------------------------------------
  1184.      
  1185.      
  1186.      comma. For example, choose AGE, WT, and SCORE.
  1187.      
  1188.      Once you select the variables to use, you are prompted to choose a
  1189.      grouping variable. Choose SEX as the grouping variable.
  1190.      
  1191.      Calculations will take place and the results will be shown on the
  1192.      viewer screen:
  1193.      
  1194.      Variable Name is TIME1                    From database:EXAMPLE.dbf
  1195.      N         =     476                         Missing  =       0
  1196.      Mean      =      21.01261              St. Dev (n-1) =       2.47418
  1197.                                               St. Dev (n) =       2.47158
  1198.      Median    =      21.30000                     S.E.M. =       0.11340
  1199.      Minimum   =       3.00000                       Sum  =   10002.00000
  1200.      Maximum   =      33.00000                  Variance  =       6.12157
  1201.      --------------------------------------------------------------------
  1202.      Percentiles:
  1203.        0.0% =       3.00000
  1204.        0.5% =       7.08000
  1205.        2.5% =      15.80000               ------------------------------
  1206.       10.0% =      18.50000                95.0% C.I. about mean is:
  1207.       25.0% =      19.50000
  1208.       50.0% =      21.30000               (     20.79033,      21.23488)
  1209.       75.0% =      22.60000               ------------------------------
  1210.       90.0% =      23.50000
  1211.       97.5% =      24.20000
  1212.       99.5% =      31.23001
  1213.      100.0% =      33.00000
  1214.      
  1215.      Here are some definitions concerning the statistics reported:
  1216.      
  1217.      DEFINITIONS:
  1218.      ------------
  1219.      C. I. - Confidence interval - This is a range that describes (with
  1220.      some confidence -- usually 95% confidence) where the actual mean of
  1221.      the data probably lies. That is, the true mean of the data shown
  1222.      above is somewhere between 20.79 and 21.23, with 95% confidence.
  1223.      
  1224.      MAXIMUM - The largest number.
  1225.      
  1226.      MEAN - A measure of central tendency. The arithmetic average. For
  1227.      example if you average the 3 grades 82,100 and 88 (82+100+88)/3 = 90
  1228.      -- the average (or mean) is 90.
  1229.      
  1230.      MEDIAN - A measure of central tendency. The mean is a statistic such
  1231.      that 50% of all numbers in the sample are above the mean and 50% are
  1232.      below the mean. For example, in the number list 1,2,3,4,5 the median
  1233.      would be 3.
  1234.      
  1235.      MINIMUM - The smallest number.
  1236.      
  1237.      --------------------------------------------------------------------
  1238.                  Become a Registered User, Print an Order Form
  1239.                                         21
  1240.      
  1241.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  1242.      --------------------------------------------------------------------
  1243.      
  1244.      
  1245.      MISSING - Reports how many numbers in the database had a missing
  1246.      value code.
  1247.      
  1248.      N - How many numbers were used to calculate the statistics.
  1249.      
  1250.      PERCENTILES - Tells you what percent of numbers are lower than the
  1251.      percentile. For example, the 50th percentile is the median.
  1252.      
  1253.      S.E.M. - The Standard Error of the Mean measures the spread of the
  1254.      data around the mean value.
  1255.      
  1256.      ST. DEV. - Standard Deviation - measure of the spread of the data.
  1257.      It is calculated two ways, using n-1 as a divisor and using n as a
  1258.      divisor. Usually, most people use the n-1 version.
  1259.      
  1260.      SUM - The total of all the numbers added together
  1261.      
  1262.      VARIANCE - A measure of the spread of the data.
  1263.      
  1264.      A menu of options appears at the bottom of the descriptive
  1265.      statistics screen. These options are:
  1266.      
  1267.      o Exit - Exits back to menu
  1268.      
  1269.      o Graph - Displays a graph of the data
  1270.      
  1271.      o View/Print - Allows you to view the results in the viewer, and to
  1272.      print or save them to a file. See "Using the Viewer" below
  1273.      
  1274.      o CI - Allows you to choose the level for the confidence interval
  1275.      
  1276.      o Percent - Allows you to choose the percents that will be displayed
  1277.      on the screen
  1278.      
  1279.      o New Variable - Allows you to choose another variables from the
  1280.      database to examine
  1281.      
  1282.      If you choose the graph option, the graph menu will appear. It
  1283.      contains the following options:
  1284.      
  1285.      o Exit - Exit the screen
  1286.      
  1287.      o Mean CI off/on - Toggles a display of a normal curve on the
  1288.      histogram and a confidence interval on the box and whiskers plot.
  1289.      
  1290.      o Print - Print the graph to the printer
  1291.      
  1292.      o < + > or < - > - Display the histogram using smaller or larger
  1293.      classes
  1294.      
  1295.      o Dist off/on - Toggles a display of the data as a cumulative
  1296.      --------------------------------------------------------------------
  1297.                  Become a Registered User, Print an Order Form
  1298.                                         22
  1299.      
  1300.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  1301.      --------------------------------------------------------------------
  1302.      
  1303.      
  1304.      distribution instead of as a histogram
  1305.      
  1306.      o Cap/PCS - capture the screen as a PCX file
  1307.      
  1308.      o B&W or Use Color - Toggle screen from color to Black and White
  1309.      mode.
  1310.      
  1311.      VIEWING THE RESULTS
  1312.      
  1313.      The viewer allows you to examine output from an analysis that could be
  1314.      too big to appear on one screen. When the viewer appears, you can move
  1315.      around the displayed results by pressing the arrow keys, PgUp, PgDn,
  1316.      Home and End. If you are using a mouse, you can use the scroll bars on
  1317.      the right side and bottom to position the output on the screen. The
  1318.      function key commands available in the viewer are described below. To
  1319.      activate one of these commands, press the function key or click the
  1320.      option on the button bar at the bottom of the screen:
  1321.      
  1322.      F1 - Display this help screen.
  1323.      F3 - Send setup code to printer (for condensed print, etc.)
  1324.      F5 - Goto a line in the output (Press F5, then enter a line number.)
  1325.      F7 - Exit the viewer.
  1326.      F8 - Define size of margin for output.
  1327.      F9 - Define a title to be used on output.
  1328.      F10 - Output the contents of the viewed file to a printer or file.
  1329.            When you choose this option, the default output is the port
  1330.            you specified in the program setup (i.e., LPT1: meaning line
  1331.            printer port 1). You can press Enter to accept this default,
  1332.            or type a file name to save the contents to a file.
  1333.      
  1334.      CHOOSING WHICH DATABASE MODE TO USE
  1335.      
  1336.      The program allows you to enter and edit data using two modes -- the
  1337.      spreadsheet mode and database mode. When you installed the program,
  1338.      you chose one of these modes as a default. When you are entering data,
  1339.      you can switch from one mode to the other by choosing the F8 option.
  1340.      The following sections describe each of the modes. Use the mode that
  1341.      is most intuitive for you.
  1342.      
  1343.      USING THE SPREADSHEET ENTRY MODE
  1344.      
  1345.      The spreadsheet screen looks similar to a spreadsheet. If you prefer
  1346.      to use the database entry mode, skip to the section titled "Using a
  1347.      database entry screen."
  1348.      
  1349.      The names of the database fields (Grade, Age, etc.) are listed at the
  1350.      top of the screen (columns) and the record numbers are listed down the
  1351.      left side of the screen (rows). Since you do not have any records
  1352.      entered into the database, the only row displayed is the -ADD- row,
  1353.      which indicates that you are adding a new record.
  1354.      
  1355.      --------------------------------------------------------------------
  1356.                  Become a Registered User, Print an Order Form
  1357.                                         23
  1358.      
  1359.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  1360.      --------------------------------------------------------------------
  1361.      
  1362.      
  1363.      To enter data into the database, begin typing the entry for the first
  1364.      field. For example, in the GRADE column you would type a grade such as
  1365.      an A, then press Enter. Your cursor moves to the next field (AGE).
  1366.      Type and age such as 18 and press Enter. Type a sex variable such as M
  1367.      and press Enter. Continue until you have entered all of the data for
  1368.      record 1. When you press Enter after entering the last variable in
  1369.      record 1, a new row appears to allow you to enter the second record of
  1370.      information, and your cursor moves to the first field of this record.
  1371.      Continue entering information in the spreadsheet until all records are
  1372.      entered. If you make a mistake on a record, you can use the right or
  1373.      left arrow keys to move your cursor and correct the mistake. If you
  1374.      discover that you have made an error in a previous record, you can use
  1375.      the Edit mode (described later) to correct this entry.
  1376.      
  1377.      To end the entry procedure, press the F7 (Exit) key.
  1378.      
  1379.      USING THE DATABASE ENTRY MODE
  1380.      
  1381.      This section describes how to enter data using the database entry
  1382.      mode. When you begin entering data into a new database, an entry
  1383.      screen for record 1 appears on the screen.
  1384.      
  1385.      The database entry screen displays each field name at the left of the
  1386.      screen followed by an entry field where you will enter the data for
  1387.      that field. For example, when the entry screen first appears, your
  1388.      cursor will be in the GRADE field. To enter the information for record
  1389.      1, type the grade value for the first record, A (for example ) and
  1390.      press Enter. Your cursor will move to the next field. Type and age
  1391.      such as 18 and press Enter. Continue until you have entered all of
  1392.      the data for record 1. When you press Enter after entering information
  1393.      in the last field of record 1, a new entry screen appears for record 2
  1394.      to allow you to enter the second record of information, and you cursor
  1395.      moves to the first field of this record. Continue entering information
  1396.      until all records are entered. If you make a mistake on a record, you
  1397.      can use the arrow keys to move your cursor and correct the mistake. If
  1398.      you discover that you have made an error in a previous record, you can
  1399.      use the Edit mode (described later) to correct this entry.
  1400.      
  1401.      EDITING DATABASE INFORMATION
  1402.      
  1403.      Once you enter data into your database, you may need to add new
  1404.      information, delete other information or change the database in some
  1405.      way. The following sections show you how to do modify and manage your
  1406.      database.
  1407.      
  1408.  
  1409.  
  1410.  
  1411.  
  1412.  
  1413.  
  1414.      --------------------------------------------------------------------
  1415.                  Become a Registered User, Print an Order Form
  1416.                                         24
  1417.      
  1418.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  1419.      --------------------------------------------------------------------
  1420.      
  1421.      
  1422.      CORRECTING ERRORS IN THE DATABASE
  1423.      
  1424.      Before returning to the main menu, you can correct errors by pressing the
  1425.      F2 key to toggle into Edit mode. The edit screen is similar to the screen
  1426.      used to enter data. Use the cursor keys to move to the field to edit, and
  1427.      change the value. Exit the edit screen with the F7 (Exit) command.
  1428.      
  1429.      If you end up with an extra record in your database, you can erase that
  1430.      record while in the Edit mode. To erase a record, place your cursor on
  1431.      the record and press F4 (Erase). The record will be permanently removed
  1432.      from the database. Exit the edit screen with the F7 (Exit) command.
  1433.      
  1434.      USING ENTRY AND EDIT SCREEN FUNCTION KEY COMMANDS
  1435.      
  1436.      When you are adding information to the database, there are several
  1437.      function key options that you can choose. These options are listed at the
  1438.      bottom of the entry screen. To choose an option, press the function key
  1439.      related to the option, or point to the option with the mouse and click.
  1440.      
  1441.      F1 - Displays the program Help menu.
  1442.      F2 - Toggles between edit mode and append mode.
  1443.      F3 - Deletes or Undeletes records. (Also use ^U)
  1444.      F4 - Erase or insert a record.
  1445.      F5 - Goto a record number.
  1446.      F6 - Undo - returns last record changed to it previous values.
  1447.      F7 - Exits entry mode and returns you to the main program menu.
  1448.      F8 - Switches between spreadsheet type entry and database entry mode.
  1449.      F9 - Insert or Delete a field in the database or Replace the
  1450.      contents of a field.
  1451.      F10 - Prints the contents of the current record to a printer or file.
  1452.      
  1453.      EDITING, DELETING AND PACKING DATA
  1454.      
  1455.      Once a database is created, you often need to correct information by
  1456.      editing records or getting rid of records. The following sections
  1457.      describe the process of changing the contents of a record by editing
  1458.      and a procedure for getting rid of records by deleting and packing.
  1459.      
  1460.      EDITING RECORDS
  1461.      
  1462.      If there is a need to change data already in a database, you may
  1463.      choose the Edit a record option from the EDIT menu. You will be asked
  1464.      to specify the record number you wish to edit. Editing is similar to
  1465.      entering data. Use the up and down arrow keys to move from field to
  1466.      field within a record.
  1467.      
  1468.  
  1469.  
  1470.  
  1471.  
  1472.  
  1473.      --------------------------------------------------------------------
  1474.                  Become a Registered User, Print an Order Form
  1475.                                         25
  1476.      
  1477.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  1478.      --------------------------------------------------------------------
  1479.      
  1480.      
  1481.      DELETE, ERASE or INSERT RECORDS
  1482.      
  1483.      If you want to erase an entire record within a database, use
  1484.      the edit procedure to display the record to erase.
  1485.      
  1486.      You can use one of two methods to erase a record:
  1487.      
  1488.      1. Erase the record (Spreadsheet mode only) or (F4)
  1489.      2. Delete and Pack (Delete is F3)
  1490.      
  1491.      To erase a record, display the record in Edit mode, using the
  1492.      spreadsheet entry mode. Highlight the record to erase, and press the
  1493.      function key F4. You can choose to erase more than one record at a
  1494.      time.
  1495.      
  1496.      Inserting records is similar to deleting records. In the spreadsheet
  1497.      mode, place your cursor where you want to insert (insert is above
  1498.      the current record). Press F4, then choose how many records to
  1499.      insert.
  1500.      
  1501.      If you want to temporarily "get rid" of a few records so that they
  1502.      will not be used in an analysis, mark them for delete using the F3
  1503.      option Any analysis you perform will ignore deleted records. Then, if
  1504.      you want to restore them, unmark them again. This is a quick way to
  1505.      see how an analysis result would change if some selected records were
  1506.      not present in the analysis.
  1507.      
  1508.      PACKING THE DATABASE
  1509.      
  1510.      The records marked for delete are not actually deleted from the file
  1511.      at this point. However, they will be ignored in most analyses, and
  1512.      will continue to be displayed when you edit the database. You can
  1513.      undelete records from the Edit mode.
  1514.      
  1515.      If you want to permanently get rid of the records you have marked for
  1516.      delete, choose the Pack procedure from the File menu. This procedure
  1517.      erases all "deleted" records from the database.
  1518.      
  1519.      ERASING ALL RECORDS - ZAP A DATABASE
  1520.      
  1521.      The Zap option allows you to quickly erase all records from a
  1522.      database. To use this option, open a database, then choose Zap.
  1523.      
  1524.      MODIFYING AND DISPLAYING THE DATABASE STRUCTURE
  1525.      
  1526.      The Modify or Display database structure option on the DATA menu
  1527.      allows you to display the structure of your database, and allows you
  1528.      to change characteristics about the database structure. When you
  1529.      choose to display the structure, a list of all field names, their
  1530.      types, widths and decimals (if any) are listed.
  1531.      
  1532.      --------------------------------------------------------------------
  1533.                  Become a Registered User, Print an Order Form
  1534.                                         26
  1535.      
  1536.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  1537.      --------------------------------------------------------------------
  1538.      
  1539.      
  1540.      When you choose to modify a field, you age given a chance to the
  1541.      modify the characteristics of that field. Your options are:
  1542.      
  1543.         Change Name of Field
  1544.         Change Type of Field
  1545.         Change Width of Field
  1546.         Change Number of Decimal Places
  1547.      
  1548.      If you change the type of field, say from character to numeric, the
  1549.      program will attempt to convert the contents of the field to its new
  1550.      type. When you modify a database, you will be asked to enter the name
  1551.      of a new database. This means that the modified database will be in a
  1552.      new file, and your old original database will remain intact. If you no
  1553.      longer want the old database, you must delete it by choosing the Kill
  1554.      option from the File menu.
  1555.      
  1556.      LISTING THE DATABASE TO THE SCREEN
  1557.      
  1558.      The LIST option on the FILE menu allows you to look at the information
  1559.      in your database.  The list produces an on-screen report that lists
  1560.      the data one record at a time.  If your database contains too many
  1561.      fields to be displayed on the screen at one time, the list procedure
  1562.      will ask you at which field to begin the display.
  1563.      
  1564.      KILLING (DELETING) A DATABASE
  1565.      
  1566.      The Kill option allows you to delete a database and its related
  1567.      missing values files (if any.) When you choose this option, a list of
  1568.      databases will appear on the screen. Choose the database to delete,
  1569.      and the file(s) will be erased from your disk.
  1570.      
  1571.      EXIT SF G&N
  1572.      
  1573.      Use this option to end the program and return to DOS.
  1574.      
  1575.      CREATING A NEW FIELD
  1576.      
  1577.      The Edit mode allows you to create new blank fields of any field type,
  1578.      and to place information in those fields that is either a numeric or
  1579.      character expression. You may create a new field in a database within
  1580.      an edit screen by choosing the F9 (FIELD Insert) option. After
  1581.      creating a new field, you can then use the F9 (FIELD Replace) option
  1582.      to place a value in the new field.
  1583.      
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591.      --------------------------------------------------------------------
  1592.                  Become a Registered User, Print an Order Form
  1593.                                         27
  1594.      
  1595.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  1596.      --------------------------------------------------------------------
  1597.      
  1598.      
  1599.      When you choose the Field option in the edit screen (F9), you will be
  1600.      prompted to enter information about the new field.
  1601.      
  1602.       Define a name for the new field
  1603.       Define the field type
  1604.       Define a width for the new field
  1605.      
  1606.      For numeric variables,
  1607.       Define the number of decimals, if any
  1608.       Define a missing value code. If none is selected, it is assumed to be 0
  1609.      (zero).
  1610.      
  1611.      CAREFUL ATTENTION must be paid to the definition to assure that the
  1612.      calculated numbers will fit into the field width specifications. If
  1613.      the calculated number is too large to fit into the field, it will be
  1614.      given the missing value code. If an illegal calculation is attempted,
  1615.      such as a division by 0, the result will be missing. If a calculation
  1616.      includes a missing value, the result will be a missing values.
  1617.      
  1618.      TIP: To create a new field containing a new value that is a numeric
  1619.      transformation of other fields, first insert the new field using the
  1620.      F9 Field/Insert option, then use the F9 Field /Replace option to place
  1621.      the value in the new field.
  1622.      
  1623.      HINT: Be sure to use the backup command on the FILE menu to make a
  1624.      copy of your database before your change it. If you make changes to
  1625.      your database, and do not have a backup copy, you may make a mistake
  1626.      and lose important information.
  1627.      
  1628.      REPLACING CONTENTS OF A FIELD (Calculations)
  1629.      
  1630.      You can use the F9-Field Replace option in the Edit screen to replace
  1631.      the existing contents of a field, or place new information in a newly
  1632.      created blank field. The program provides a number of numeric and
  1633.      character functions to enable you to do this.
  1634.      
  1635.      For example, if you wanted to replace the contents of the field RATIO
  1636.      with the values WEIGHT/HEIGHT:
  1637.      
  1638.      1) In the edit mode, highlight the field whose contents you want to
  1639.      replace. Press the F9 (Field) option, and choose Replace the contents
  1640.      of a field option from the Field menu. A dialog box will appear.
  1641.      
  1642.      2) Specify which records to replace. The default it ALL, which means
  1643.      all records in the database. Or, enter a range such as 1-20, which
  1644.      would mean only perform the replacement in records number 1 through
  1645.      20. Then, press Enter.
  1646.      
  1647.      3) Specify what to place in the field. For example, enter the formula
  1648.      WEIGHT/HEIGHT in the Replace With entry field, where WEIGHT and HEIGHT
  1649.      are two other fields in the same database.
  1650.      --------------------------------------------------------------------
  1651.                  Become a Registered User, Print an Order Form
  1652.                                         28
  1653.      
  1654.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  1655.      --------------------------------------------------------------------
  1656.      
  1657.      
  1658.      
  1659.      4) Specify any condition for replacing, if any. The default is NONE.
  1660.      For example, if you only want the replacement to be for records whose
  1661.      value of AGE is greater than 20, you would enter the expression AGE20
  1662.      in the condition entry field.
  1663.      
  1664.      5) Press F7 when you have finished entering the Replace information,
  1665.      and the replace will begin. When it is finished, you will return to
  1666.      the edit screen.
  1667.      
  1668.      The kinds of expressions you can use the Replace With and Condition
  1669.      fields are described below.
  1670.      
  1671.      SF G&N supports two kinds of expressions. One is strictly for
  1672.      mathematical expressions, called a math expression. The other
  1673.      expression type, called a database expression, allows the use of
  1674.      character, numeric, date and logical fields in the expression. Here
  1675.      are the criteria for when these are used:
  1676.      
  1677.      REPLACE WITH FIELD: Use either a math expression or a database
  1678.      expression.
  1679.      
  1680.      CONDITION FIELD: Use only a database expression.
  1681.      
  1682.      In the REPLACE WITH field, the default expression type is the database
  1683.      type. In order for an expression to be evaluated as a strictly math
  1684.      expression, you must place an equal sign "=" at the beginning of the
  1685.      expression.
  1686.      
  1687.      The major difference between the two expression types are in their
  1688.      capabilities. The database expression can handle most common
  1689.      calculations, including simple math, string evaluation, and date
  1690.      evaluation. The math expression can be used only for strictly numeric
  1691.      calculations using one or more of the functions listed in the table
  1692.      below, or that uses the exponentiation operator.
  1693.      
  1694.      For example, if you want to perform the calculation WEIGHT/HEIGHT, you
  1695.      can enter the expression as-is in the REPLACE WITH field. However, if
  1696.      you want to calculate the log of WEIGHT/HEIGHT, you must enter the
  1697.      expression as
  1698.      
  1699.        =LOG(WEIGHT/HEIGHT)
  1700.      
  1701.      since the LOG function is not supported as a database expression
  1702.      function. The equal sign signals to the program to use the math
  1703.      calculator. The information below outlines the capabilities of both
  1704.      expression types.
  1705.      
  1706.  
  1707.  
  1708.  
  1709.      --------------------------------------------------------------------
  1710.                  Become a Registered User, Print an Order Form
  1711.                                         29
  1712.      
  1713.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  1714.      --------------------------------------------------------------------
  1715.      
  1716.      
  1717.      Mathematical operators supported are Add +, Subtract -, Divide /,
  1718.      Multiply *, and Exponentiation ^ (Math calculator only). For Character
  1719.      fields, the database calculator supports the operation: Add + (appends
  1720.      one string to another).
  1721.      
  1722.      Following are a few examples of correct expressions:
  1723.      
  1724.       AGE/HEIGHT
  1725.       =SCORE^2 (= signals math calculation)
  1726.       LTRIM(FIRST)+' '+LAST
  1727.      
  1728.      Note: Literal strings included in expressions must be surrounded by
  1729.      single quotes. For example, 'Hello' is a literal string. Character
  1730.      field names are used without quotes. For example, NAME is a field
  1731.      name. A correct string expression using these two strings would be:
  1732.      'Hello '+NAME TIP:Unless you use scientific functions in your
  1733.      calculations, you don't need to be concerned about which calculation
  1734.      type to use. Only if you use a numeric operation or function not
  1735.      supported by the database calculator will you need to place an equal
  1736.      (=) sign at the first of the expression.
  1737.      
  1738.      Database calculator functions supported The following functions may be
  1739.      used in expressions both in the Replace With and Condition fields.
  1740.      
  1741.      Database Calculator Functions
  1742.      
  1743.      ABS(NUM), ASC(STG), AT(STG1,STG2), CALENDAR(NUM), CAPS(STG), CHR(NUM),
  1744.      DATE(), DELETED(), IIF(LEXP,AEXP1,AEXP2), INT(NUM), JULIAN(DATE),
  1745.      LEFT(STG,NUM), LEN(STG), LOWER(STG), LTRIM(STG), MAX(NUM1,NUM2),
  1746.      MIN(NUM1,NUM2), RECNO(), REPLICATE(STG,NUM), RIGHT(STG,NUM),
  1747.      RTRIM(STG), SPACE(NUM), STR(NUM), STRING(NUM,NUM|STR), RIGHT(STG,NUM),
  1748.      STUFF(STG,NUM,NUM,STG2), SUBSTR(STG,NUM,[NUM]), TIME(), TRIM(STG),
  1749.      UPPER(STG), VAL(STG),
  1750.      
  1751.      Following a few example uses of these functions:
  1752.      
  1753.      ASC - Converts the first character of a string to its ASCII code. For
  1754.      example, the function ASC('A') would return the value 65, since 65 is
  1755.      the code for an uppercase A.
  1756.      
  1757.      AT - Returns the starting position of one character string within
  1758.      another character string. For example, the expression AT('Bill', 'Wild
  1759.      Bill') = 5 since the string 'Bill' begins five characters deep in the
  1760.      string 'Wild Bill'.
  1761.      
  1762.      CHR - Converts a number into its ASCII value. For example, CHR(65) is
  1763.      equal to the character string 'A'.
  1764.      
  1765.      DELETED - Returns a T if the current record is marked for delete, else
  1766.      it returns a F. Can be used to conditionally replace a value depending
  1767.      on if the record is deleted or not.
  1768.      --------------------------------------------------------------------
  1769.                  Become a Registered User, Print an Order Form
  1770.                                         30
  1771.      
  1772.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  1773.      --------------------------------------------------------------------
  1774.      
  1775.      
  1776.      
  1777.      INT - Rounds down to nearest integer. INT(3.2) would be returned as 3.
  1778.      
  1779.      LEFT and RIGHT - Returns the left or right portion of a string. For
  1780.      example, LEFT('Wild Bill',3) would return the string 'Wil' and
  1781.      RIGHT('Wild Bill',3) would return the string 'ill'.
  1782.      
  1783.      LOWER and UPPER - Returns lower or upper case string. For example,
  1784.      LOWER('Wild Bill') would return 'WILD BILL'.
  1785.      
  1786.      LTRIM, RTRIM and TRIM - Trims blanks from right, left or both ends of
  1787.      a string. For example, LTRIM('Wild Bill    ') would return 'Wild
  1788.      Bill'.
  1789.      
  1790.      VAL - Returns the value of a string. For example VAL('24') is the number
  1791.      24.
  1792.      
  1793.      Most of these functions are similar to or identical to functions used in
  1794.      the BASIC language or in dBASE or other database programs. For more
  1795.      examples, you might refer to documentation on these programs.
  1796.      
  1797.      MATH EXPRESSIONS
  1798.      
  1799.      The following functions are supported only in the Replace With entry
  1800.      field, and only for numeric field types. You MUST precede expressions
  1801.      using these functions with an = sign.
  1802.      
  1803.      An example of the RECODE function, which appears on the following
  1804.      table is:
  1805.      
  1806.       =RECODE(SCORE,1,AGE,10,15)
  1807.      
  1808.      The five arguments in the RECODE function are:
  1809.      
  1810.      No.   Example   Meaning
  1811.      1     SCORE     Field to use in compare
  1812.      2     1         Value to assign if comparison is true
  1813.      3     AGE       Value to assign if comparison is false
  1814.      4     10        Low range of field to compare
  1815.      5     15        High range of fields to compare
  1816.      
  1817.      Thus, this example means that the value of the RECODE is 1 if SCORE is
  1818.      between 10 and 15, else the value is the current value of the AGE field
  1819.      for that record.
  1820.      
  1821.      Math Calculator Functions
  1822.      
  1823.      ABS(NUM), ASIN(NUM), ATAN(NUM), ATAN2(y,x), CSC(NUM), COS(NUM),
  1824.      COT(NUM), EXP(NUM), INT(NUM), LN(NUM), LOG(NUM), MAX(1,T2,3)
  1825.      MIN(1,T2,T3), MOD(NUM1,NUM2), PI, RAND, RECNO,
  1826.      RECODE(NUM1,NUM2,NUM3,NUM4,NUM5,NUM6), ROUND(NUM,DEC), SEC(NUM),
  1827.      --------------------------------------------------------------------
  1828.                  Become a Registered User, Print an Order Form
  1829.                                         31
  1830.      
  1831.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  1832.      --------------------------------------------------------------------
  1833.      
  1834.      
  1835.      SIN(NUM), SQRT(NUM), SUM(NUM1,NUM2...), TAN(NUM),
  1836.      
  1837.      SUBSETTING THE DATABASE
  1838.      
  1839.      The Subset database option on the DATA menu allows you to create a new
  1840.      database from an old database. The new database can be a subset of the
  1841.      old one, using a conditional criteria for outputting information from
  1842.      the old database to the new one.
  1843.      
  1844.      For example, suppose you have a database with a field GROUP with
  1845.      values 1, 2, 3, 4 and 5.  You want to create a database that does NOT
  1846.      include Group 5.  After choosing Subset database from the DATA menu,
  1847.      you are asked for the name of the new database.  For example, your new
  1848.      database might be named NO5.DBF.  You are asked for the field name to
  1849.      be used in the selection criteria.  In this case, you would choose the
  1850.      field named GROUP.  Next you must enter the selection relationship.
  1851.      It will be described as a numerical expression.  The conditional
  1852.      operators you may use are:
  1853.      
  1854.      =    >  <  >=  <=  <>   =
  1855.      
  1856.      and the logical operators .NOT., .AND., and .OR..
  1857.      
  1858.      It is important that a dot (.) appear before and after each
  1859.      logical operator. For example, you might enter a condition such as
  1860.      
  1861.      AGE <10 .OR. SEX='M'
  1862.      
  1863.      When you choose the Subset option from the FILE menu, a Subset dialog
  1864.      box appears on the screen.
  1865.      
  1866.      There are two items you must enter in the Subset dialog box. First is a
  1867.      name for the new database. This must not be the same name as the current
  1868.      database. Then, you must enter the subset criteria. Example of subsetting
  1869.      criteria are:
  1870.      
  1871.      GROUP = 4
  1872.      GROUP> STATUS
  1873.      GROUP < WEIGHT*HEIGHT
  1874.      TIME1 = TIME2*1.96
  1875.      SEX = 'F'
  1876.      TIME1 <=20 .AND. SEX = 'M'
  1877.      
  1878.      When creating these expressions, you can use the same functions as was
  1879.      previously described in the table "Functions Supported for Character,
  1880.      Date and Value Expressions."
  1881.      
  1882.  
  1883.  
  1884.  
  1885.  
  1886.      --------------------------------------------------------------------
  1887.                  Become a Registered User, Print an Order Form
  1888.                                         32
  1889.      
  1890.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  1891.      --------------------------------------------------------------------
  1892.      
  1893.      
  1894.      SETTING AND USING MISSING VALUES CODES
  1895.      
  1896.      Sometimes in the collection of data there are values that are lost or
  1897.      cannot be gathered. These are called "missing values". When such
  1898.      values occur, it is important for the program to know that the values
  1899.      are missing so that statistical calculations may take this into
  1900.      account. Missing values are usually designated as an impossible value.
  1901.      For example, the missing values designated for the variable AGE may be
  1902.      -9, since it is impossible for the variable AGE to have the value -9.
  1903.      When the program is asked to calculate the mean of age, for example,
  1904.      it will ignore those records where AGE is -9 in that calculation if -9
  1905.      has been specified as the missing value code. In most SCIENCE FAIR
  1906.      GRAPHS & NUMBERS procedures, there is a casewise deletion of the
  1907.      record from calculation whenever a missing value is encountered.
  1908.      
  1909.      Once you designate a missing value code for a variable, it is up to
  1910.      you to make sure that this code gets placed into your database in the
  1911.      proper records and fields.  For example, if you have designated -9 as
  1912.      the missing value code for AGE, you must make sure that in your
  1913.      database a -9 appears in the field AGE if that data is missing or
  1914.      unknown.
  1915.      
  1916.      A standard dBASE III file does not have a way to designate missing
  1917.      values, but SF G&N allows a way for you to designate these values in
  1918.      this program. The Indicate missing value codes option on the FILE menu
  1919.      is used to set up these values. When this option is selected, the
  1920.      program will display an entry screen that is similar to a data entry
  1921.      screen. You may enter one missing value for each field name. The
  1922.      missing value must obey the definition of the field in terms of length
  1923.      and type.
  1924.      
  1925.      Once missing values are entered, they are stored on disk in a file
  1926.      named filename.MV, where "filename" is the name of the designated
  1927.      database. If a new variable is created using the transformation
  1928.      procedure, its missing value is appended to the missing value file.
  1929.      
  1930.      You may change or correct the missing values for a database at any
  1931.      time by calling up this option. If missing values are already
  1932.      designated for the database, they will be displayed on the entry
  1933.      screen, and you may edit them or accept them as they are.
  1934.      
  1935.      IMPORTANT NOTE: If missing values are NOT used, and there is a blank
  1936.      numeric variable in a calculation, it will be treated like the value 0
  1937.      (zero), so it is important to use missing values if your data contains
  1938.      such entries. Otherwise, the statistical calculations will be in
  1939.      error!!
  1940.      
  1941.  
  1942.  
  1943.  
  1944.  
  1945.      --------------------------------------------------------------------
  1946.                  Become a Registered User, Print an Order Form
  1947.                                         33
  1948.      
  1949.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  1950.      --------------------------------------------------------------------
  1951.      
  1952.      
  1953.      ENTERING DATA FROM OTHER FILE FORMATS
  1954.      
  1955.      SF G&N was designed to read dBASE files and input ASCII files because
  1956.      these are among the most commonly used types of files to store data.
  1957.      If your data is already in a dBASE type file, you can read it directly
  1958.      into SF G&N. (You may need to delete any memo files in the database,
  1959.      if you have any).
  1960.      
  1961.      If your data is in another type of file, you may still be in luck. The
  1962.      next few sections discuss how to use data that is stored in other
  1963.      types of files, or to append new information from another dBASE file.
  1964.      
  1965.      ENTERING DATA FROM AN ASCII FILE
  1966.      
  1967.      When you choose to enter data from an ASCII file, you will be asked
  1968.      the name of the raw data file. (i.e., \MYDIR\MYDATA.DAT). The data
  1969.      from the ASCII file  will be entered into the database, and a count of
  1970.      the records as they are entered will be displayed. If there are
  1971.      already records in the file, the new data from the ASCII file will be
  1972.      appended (added) as new records to the database. It is a good idea to
  1973.      go to the List procedure to look at the data to verify that it has
  1974.      been entered correctly. If the data does not match the fields,
  1975.      refigure the widths of each field to make sure it matches the columns
  1976.      of data in the disk file, and try again.
  1977.      
  1978.      SF G&N can read data from standard ASCII text files. These kinds of
  1979.      files are usually supported by most word processing programs (such as
  1980.      WordPerfect DOS Text Mode) as well as most text editors such as
  1981.      EDLIN or the DOS EDIT program. Data must be in the form of column
  1982.      data, like this...
  1983.      
  1984.      A 22 3.3 WF
  1985.      A 33 4.2 BF
  1986.      B 27 3.3 WM
  1987.      :
  1988.      ETC
  1989.      
  1990.      Notice that each column of data is in fixed fields. It does not matter
  1991.      that there is no space between the last two fields (Race and Sex)
  1992.      since the program will pick off the information from the column and
  1993.      does not require that there be spaces between the columns. Use the
  1994.      instructions below to prepare the SF G&N (dBASE) database structure to
  1995.      be used to read in ASCII data.
  1996.      
  1997.  
  1998.  
  1999.  
  2000.  
  2001.  
  2002.  
  2003.  
  2004.      --------------------------------------------------------------------
  2005.                  Become a Registered User, Print an Order Form
  2006.                                         34
  2007.      
  2008.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  2009.      --------------------------------------------------------------------
  2010.      
  2011.      
  2012.      The steps to enter ASCII data into SF G&N are:
  2013.      
  2014.      STEP 1. Use the NEW DATABASE option to create a database structure to
  2015.      match the columns in the ASCII file. The field widths MUST match the
  2016.      width of the columns of data on file. If there are spaces between
  2017.      columns of data, make widths wide enough to account for those spaces.
  2018.      The following data is from the file EX.DAT on disk:
  2019.      
  2020.      A  12 22.3 25.3 28.2 30.6 5
  2021.      A  11 22.8 27.5 33.3 35.8 5
  2022.      B  12 22.8 30.0 32.8 31.0 4
  2023.      A  12 18.5 26.0 29.0 27.9 5
  2024.      B   9 19.5 25.0 25.3 26.6 5
  2025.      :
  2026.      etc
  2027.      :
  2028.      B  12 22.4 27.2 31.8 35.6 4
  2029.      
  2030.      Try your hand at doing this example by creating a database named EX
  2031.      with the following structure:
  2032.      
  2033.      FIELD NAME   TYPE     WIDTH   DECIMALS
  2034.      -----------  ------   ------- --------
  2035.      GROUP          C        2
  2036.      AGE            N        4         0
  2037.      TIME1          N        5         1
  2038.      TIME2          N        5         1
  2039.      TIME3          N        5         1
  2040.      TIME4          N        5         1
  2041.      STATUS         N        2
  2042.      
  2043.      Notice that even though the first column has data 1 column wide, this
  2044.      structure uses a width of 2 for GROUP. Even though the age only uses 2
  2045.      columns, the structure calls for AGE to have a width of 4. These
  2046.      widths are enter this way to take care of the blank spaces between the
  2047.      columns. If GROUP had been set up with only 1 column and AGE with only
  2048.      2 columns, the ASCII data would not be read into the database
  2049.      correctly. Create the database called EX with the specifications
  2050.      listed above, then go to the next step.
  2051.      
  2052.      STEP 3: To verify that the data was read properly, use List option on
  2053.      the FILE menu to examine the resulting database.
  2054.      
  2055.      APPENDING DATA FROM ANOTHER dBase (.DBF) FILE
  2056.      
  2057.      If you have data in one database, and want to append information
  2058.      from another database, follow these steps:
  2059.      
  2060.      1. Open the database (first database) where you want to append other
  2061.      data.
  2062.      
  2063.      --------------------------------------------------------------------
  2064.                  Become a Registered User, Print an Order Form
  2065.                                         35
  2066.      
  2067.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  2068.      --------------------------------------------------------------------
  2069.      
  2070.      
  2071.      2. From the EDIT pull-down menu choose Append Records and From a
  2072.      DBF file option.
  2073.      
  2074.      3. Specify the database that contains the records to be appended
  2075.      (second database). The records will be added to the end of the
  2076.      first database.
  2077.      
  2078.      Only records in the second database that match the same field names
  2079.      as the first database will be added to the first database. If the
  2080.      field widths or types do not match, the added records may not be
  2081.      correct. Be sure that the field names, types and widths match before
  2082.      appending records using this method. Also, list the records after
  2083.      appending to make sure they were added correctly.
  2084.      
  2085.      USING DATA FROM OTHER PROGRAMS
  2086.      
  2087.      Many other programs create .DBF or ASCII files. If you want to
  2088.      transfer data from a program such as Excel or Lotus 1-2-3, look up
  2089.      dBASE or DBF in the program's index or help file to see how to
  2090.      create a DBF type file. Once you save the data in a DBF file, it can
  2091.      be read into the SCIENCE FAIR program.
  2092.      
  2093.  
  2094.  
  2095.  
  2096.  
  2097.  
  2098.  
  2099.  
  2100.  
  2101.  
  2102.  
  2103.  
  2104.  
  2105.  
  2106.  
  2107.  
  2108.  
  2109.  
  2110.  
  2111.  
  2112.  
  2113.  
  2114.  
  2115.  
  2116.  
  2117.  
  2118.  
  2119.  
  2120.  
  2121.  
  2122.      --------------------------------------------------------------------
  2123.                  Become a Registered User, Print an Order Form
  2124.                                         36
  2125.      
  2126.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  2127.      --------------------------------------------------------------------
  2128.      
  2129.      
  2130.      APPENDIX
  2131.      
  2132.      INTERPRETING ERROR CODES
  2133.      
  2134.      If the program encounters a problem it does not know how to resolve,
  2135.      it will usually display an error message. This message will contain an
  2136.      error code and a reference code. Many times, you can correct this
  2137.      error situation by understanding what caused it. For example, if you
  2138.      were to get an error number 27, you would know that it was caused by
  2139.      your printer sending an "Out of Paper" message to the program. If you
  2140.      are unable to resolve the problem, write down the steps taken before
  2141.      the error occurred, and send it to TexaSoft on the Problem Report Form.
  2142.      We will try to resolve the problem as quickly as possible.
  2143.      
  2144.      Error Codes:
  2145.      Error Number 5 = Illegal function call
  2146.      Error Number 6 = Overflow
  2147.      Error Number 7 = Out of Memory
  2148.      Error Number 9 = Subscript out of range
  2149.      Error Number 11 = Division by zero
  2150.      Error Number 14 = Out of String Space
  2151.      Error Number 24 = Device Timeout - Check your printer or disk drive
  2152.      Error Number 25 = Device fault - Check your printer or disk drive
  2153.      Error Number 27 = Out of Paper - Check your printer
  2154.      Error Number 50 = FIELD overflow
  2155.      Error Number 51 = Internal Error
  2156.      Error Number 52 = Bad filename or number
  2157.      Error Number 53 = File not found
  2158.      Error Number 54 = Bad file mode
  2159.      Error Number 55 = File already open
  2160.      Error Number 57 = Device I/O error - Check your printer or disk drive
  2161.      Error Number 58 = File already exists
  2162.      Error Number 61 = Disk full - Erase files from your disk
  2163.      Error Number 62 = Input past end of file
  2164.      Error Number 63 = Bad record number
  2165.      Error Number 64 = Bad filename
  2166.      Error Number 67 = Too many files
  2167.      Error Number 68 = Device unavailable
  2168.      Error Number 70 = Permission denied
  2169.      Error Number 71 = Disk not ready - Disk drive door may be open
  2170.      Error Number 72 = Disk media error - You might have a bad diskette
  2171.      Error Number 74 = Rename across disks
  2172.      Error Number 75 = Path/File access error - Check default path name
  2173.      Error Number 76 = Path not found - Check default path name
  2174.      Error Number 81 = Invalid filename - Check default path name
  2175.  
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.      --------------------------------------------------------------------
  2182.                  Become a Registered User, Print an Order Form
  2183.                                         37
  2184.      
  2185.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  2186.      --------------------------------------------------------------------
  2187.      
  2188.      
  2189.      
  2190.      Problem Report form: SF G&N
  2191.      
  2192.      Please explain in detail the problem that occurred. If possible,
  2193.      send a print out of the results or Print Screen.
  2194.      SF GRAPHS & NUMBERS version you are using:________________________
  2195.      What were you doing when problem occurred:________________________
  2196.      Your computer: Brand/Model____________________________RAM: _______
  2197.      Printer type: (circle) Laser or Dot Matrix? Brand_________________
  2198.      Monitor Type: (circle)  EGA  VGA  Other:__________________________
  2199.      Version of DOS you are using:__________________Disk Doubled? Y N
  2200.      Memory resident programs you use:_________________________________
  2201.      On a Network? Y N If so, What kind/version________________________
  2202.      
  2203.      Problem Description:
  2204.      
  2205.      
  2206.      
  2207.      
  2208.      
  2209.      
  2210.      
  2211.      
  2212.      
  2213.      
  2214.      
  2215.      
  2216.      
  2217.      
  2218.      
  2219.      
  2220.      
  2221.      
  2222.      
  2223.      
  2224.      
  2225.      
  2226.      
  2227.      
  2228.      
  2229.      
  2230.      
  2231.      
  2232.      
  2233.      
  2234.      Mail to:TexaSoft, P.O. Box 1169, Cedar Hill, Texas 75104. Or fax to
  2235.      214-291-3400, or send E-Mail to Compuserve 70721,3145.
  2236.  
  2237.  
  2238.  
  2239.  
  2240.      --------------------------------------------------------------------
  2241.                  Become a Registered User, Print an Order Form
  2242.                                         38
  2243.      
  2244.      SCIENCE FAIR GRAPHS & NUMBERS MANUAL Ver 1
  2245.      --------------------------------------------------------------------
  2246.      
  2247.      
  2248.      
  2249.                                S H A R E W A R E
  2250.                                _________________
  2251.      
  2252.                             TRY IT BEFORE YOU BUY IT
  2253.      
  2254.      The purpose of shareware products is to allow you to try software
  2255.      products before you buy them.  SF G&N is not a public domain program.
  2256.      Persons who use SF G&N on a regular basis should purchase a copy. You
  2257.      receive several benefits from becoming an official registered user:
  2258.      
  2259.      1. You help to keep the product growing to meet your needs.
  2260.      
  2261.      2. You receive the very latest disk version, and manual.
  2262.      
  2263.      3. You receive periodic newsletters announcing new releases, and
  2264.      pointing out important information on any bugs and fixes.
  2265.      
  2266.      4. You are able to purchase update to new versions for a minimal cost.
  2267.      
  2268.      Print the file on disk named SFORDER.TXT to register.  Thanks.
  2269.      
  2270.                                 ┌─────────┐
  2271.                           ┌─────┴───┐     │              (tm)
  2272.                         ──│         │o    │──────────────────
  2273.                           │   ┌─────┴╨──┐ │  Association of
  2274.                           │   │         │─┘  Shareware
  2275.                           └───│    o    │    Professionals
  2276.                         ──────│    ║    │────────────────────
  2277.                               └────╨────┘    MEMBER
  2278.      
  2279.      This program is produced by a member of the Association of Shareware
  2280.      Professionals (ASP). ASP wants to make sure that the shareware
  2281.      principle works for you. If you are unable to resolve a shareware-
  2282.      related problem with an ASP member by contacting the member directly,
  2283.      ASP may be able to help. The ASP Ombudsman can help you resolve a
  2284.      dispute or problem with an ASP member, but does not provide technical
  2285.      support for members' products.  Please write to the ASP Ombudsman at
  2286.      545 Grover Road, Muskegon, MI 49442 or send a CompuServe message via
  2287.      CompuServe Mail to ASP Ombudsman 70007,3536.
  2288.      
  2289.      
  2290.      
  2291.  
  2292.  
  2293.  
  2294.  
  2295.  
  2296.  
  2297.  
  2298.  
  2299.  
  2300.  
  2301.                                         39
  2302.